<?php
global $model_list;

if(!$tender_cash_rule){
	$tender_cash_rule = kekezu::get_config_rule('cash');
}
$task_status_arr = keke_glob_class::get_task_status();
foreach ( $model_list as $model ) {
		$new_task_list [$model ['model_id']] = kekezu::get_table_data ( "witkey_task", "model_id = {$model['model_id']} and task_status in (2,3,4,7)", "task_id desc", 180, '', 40 );
	}

	$top_task_list = kekezu::get_table_data ( "witkey_task", " istop=1 and task_status in (2,3,4,7)", "task_id desc", 180, '', 40 );
	
?> 